{"version":3,"sources":["html-components.js"],"names":["BXEditorComponents","editor","this","phpParser","listLoaded","components","config","compNameIndex","componentIncludeMethod","requestUrl","HandleList","Init","prototype","BX","addCustomEvent","proxy","OnComponentDoubleClick","GetList","items","i","length","name","IsComponent","code","TrimPhpBrackets","CleanCode","oFunction","ParseFunction","toUpperCase","componentParams","ParseParameters","params","template","parentComponent","exParams","IsReady","GetSource","bxid","arVA","res","util","IsEmptyObject","propValues","keysSorted","Object","keys","sort","k","arVal","arLen","j","_len1","_len2","SUT","VA","lio","templ_key","params_exist","hasOwnProperty","stripslashes","substr","CatchVariableAliases","IsPHPBracket","TrimPHPBracket","addslashes","lastIndexOf","toLowerCase","lastDroppedName","bxTag","GetBxTag","surrogateId","ShowPropertiesDialog","pc","GetOnDropHtml","_params","str","arRes","matchRes","match","LoadParamsList","oBXComponentParamsManager","LoadComponentParams","parent","currentValues","GetComponentData","item","origTag","target","e","tag","component","comp","clone","oPropertiesDialog","GetDialog","SavePropertiesDialog","oDialog","OnDialogClose","currentViewedComponentTag","SetTitle","message","replace","SetContent","Show","PARTS","CONTENT_DATA","addClass","_this","pParamsContainer","create","onCustomEvent","container","siteTemplate","GetTemplateId","relPath","callback","PropertiesDialogCallback","size","GetContentSize","width","height","ddBxTag","compBxTag","origId","GetParamsValues","GetTemplateValue","origParams","synchro","FullSyncFromIframe","ReloadList","Request","getData","GetReqData","site_template","componentFilter","GetComponentFilter","site","GetSiteId","handler","componentsTaskbar","BuildTree","groups","SetComponentIcludeMethod","method","__runcomp","window","BXHtmlEditor","PropertiesDialog","id","resizable","superclass","constructor","apply","DIV","Save","extend","Dialog","OnResize","w","offsetWidth","h","offsetHeight","OnResizeFinished","dialogs","componentProperties"],"mappings":"CAOA,WAEC,SAASA,EAAmBC,GAE3BC,KAAKD,OAASA,EACdC,KAAKC,UAAYD,KAAKD,OAAOE,UAC7BD,KAAKE,WAAa,MAClBF,KAAKG,WAAaH,KAAKD,OAAOK,OAAOD,WACrCH,KAAKK,iBAC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